<div id="professor">
<form name="addProfessor" method="POST" action="addProfessor.jsp" onsubmit="return checkDataP()">
<table border="0" cellspacing="8" cellpadding="0">
<tr>
	<td>
	First name:
	</td>
	<td>
	<input type="text" name="fname">
	</td>
	<td>
	<div id="fname" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Last name:
	</td>
	<td>
	<input type="text" name="lastname" value="">
	</td>
	<td>
	<div id="lastname" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Degree:
	</td>
	<td>
	<input type="text" name="degree">
	</td>
	<td>
	<div id="degree" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Department:
	</td>
	<td>
	<input type="text" name="department">
	</td>
	<td>
	<div id="department" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Email:
	</td>
	<td>
	<input type="text" name="email">
	</td>
	<td>
	<div id="email" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Username:
	</td>
	<td>
	<input type="text" name="username">
	</td>
	<td>
	<div id="username" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Password:
	</td>
	<td>
	<input type="password" name="password">
	</td>
	<td>
	<div id="password" class="error"></div>
	</td>
</tr>
<tr>
	<td>
	Retype Password:
	</td>
	<td>
	<input type="password" name="repassword">
	</td>
	<td>
	<div id="repassword" class="error"></div>
	</td>
</tr>
<tr>
	<td colspan="2">
	<center><input type="submit" value="Register"></center>
	</td>
	<td>&nbsp;</td>
</tr>
</table>
</form>
</div>